package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.crArea;
import com.security.door.model.domain.crAreaDevice;
import com.security.door.model.dto.crAreaDeviceDto;
import com.security.door.model.vo.crAreaDeviceVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface crAreaDeviceMapper extends MyBaseMapper<crAreaDevice> {
    List<crAreaDeviceVo> queryListWithPage(crAreaDeviceDto entity);

    Integer hasdeviceGrant(String devicecode);

    List<crArea> selectByCode(crAreaDeviceDto entity);

    Integer hasExists(crAreaDevice entity);
}